<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/5/24
  Time: 11:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Liu</title>
    <link rel="stylesheet" href="/bootstrap-3.3.7-dist/css/bootstrap.min.css">
</head>
<body>
<div class="container">
    <h1>你好，世界！</h1>
    <hr/>
    <form:form action="/index/login" method="post" commandName="user" role="form">
        <div class="form-group">
            <label for="phone">登录</label>
            <input type="text" class="form-control" id="phone" name="phone" placeholder="请输入手机号或ID"/>
        </div>
        <div class="form-group">
            <label for="pwd">密码</label>
            <input type="text" class="form-control" id="pwd" name="pwd" placeholder="请输入密码"/>
        </div>
        <div class="form-group">
            <a href="/index/register" type="button" class="btn btn-primary">注册</a>
            <button type="submit" class="btn btn-success">提交</button>
        </div>
    </form:form>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="/bootstrap-3.3.7-dist/jquery-3.2.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
</body>
</html>
